package com.cq.cqmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cq.common.utils.PageUtils;
import com.cq.cqmall.product.entity.SpuInfoEntity;
import com.cq.cqmall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author 程崎
 * @email 2972084238@email.com
 * @date 2022-08-29 01:53:21
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveInfo(SpuSaveVo spuSaveVO);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * 上架
     *
     * @param spuId spu id
     */
    void up(Long spuId);
}

